public class Exer3_8_16 {
    public static void main(String[] args) {
        for (int x = 0; x <95; x++) {
            for (int y = 0; y <94; y++) {
                for (int z = 0; z<94; z++) {
                    if ((x * y + z == 94) && (x + y * z == 95)) {
                        System.out.println("x的值为:" + x);
                        System.out.println("y的值为:" + y);
                        System.out.println("z的值为:" + z);
                    }
                }
            }

        }
    }
}
